var Vue=require('vue');
var moment = require('moment');

Vue.filter('getLocalTime', function(value){
	var tt = new Date(parseInt(value) * 1000).toLocaleString().replace(/年|月/g, "-").replace(/日/g, " ").split(' ')[0].split('/');
	var y,m,d;

	var isWeiXin = (function(){
		var ua = window.navigator.userAgent.toLowerCase();
        if(ua.match(/MicroMessenger/i) == 'micromessenger'){
            return true;
        }else{
            return false;
        }
	})

	/*兼容微信浏览器*/
	if(isWeiXin()){
		y = tt[2].slice(0,4);m = tt[0];d = tt[1];
	}else{
		y = tt[0];m = tt[1];d = tt[2];
	}

	return ( m +"-" + d );
})

require(['./views/consumerInquiries'],function(consumerInquiriesView){
	'use strict';
})